/*
 * @Descripttion: 
 * @Author: chendingfengmail@163.com
 * @version: 
 * @Date: 2021-04-07 09:55:14
 * @LastEditors: chendingfengmail@163.com
 * @LastEditTime: 2021-09-24 13:36:00
 */
const files = require.context('./modules', true, /\_api\.js$/)
const path = require('path')
const modules = {}
files.keys().forEach(key => {
  const name = path.basename(key, '_api.js')
  modules[name] = files(key).default || files(key)
});
export default {
  ...modules
}
